templateDir: templates/typescript-backstage

files:
  api.mustache:
    templateType: API
    # For some reason, they check for destinationFilename differences. We have to change the ending to override the file.
    destinationFilename: .client.ts
  model.mustache:
    templateType: Model
    destinationFilename: .model.ts
  modelGeneric.mustache:
    templateType: SupportingFiles
  modelOneOf.mustache:
    templateType: SupportingFiles
  modelGenericAdditionalProperties.mustache:
    templateType: SupportingFiles
  modelGenericEnums.mustache:
    templateType: SupportingFiles
  modelAlias.mustache:
    templateType: SupportingFiles
  modelEnum.mustache:
    templateType: SupportingFiles
  modelTaggedUnion.mustache:
    templateType: SupportingFiles
  models/models_all.mustache:
    templateType: SupportingFiles
    destinationFilename: models/index.ts
  types/fetch.ts: {}
  types/discovery.ts: {}
  apis/index.mustache:
    templateType: SupportingFiles
    destinationFilename: apis/index.ts
  pluginId.mustache:
    templateType: SupportingFiles
    destinationFilename: pluginId.ts
